#pragma once
#pragma execution_character_set("utf-8")
#include <QtWidgets/QWidget>
#include "ui_SiemensPLC.h"
#include "CReadThread.h"
#include "CWriteThread.h"
class SiemensPLC : public QWidget
{
    Q_OBJECT

public:
    SiemensPLC(QWidget *parent = nullptr);
    ~SiemensPLC();

public slots:

    void on_read_clicked();
    void on_write_clicked();

private:
    Ui::SiemensPLCClass ui;
    CReadThread *pReadThread = nullptr;

    CWriteThread *pWriteThread = nullptr;

};
